import { http } from "@/utils/http";
import baseUrlProxy from "@/api/baseUrlProxy";

export const getHolidaysInfo = (data?: object) => {
  return http.request<any>("get", baseUrlProxy + "/api/holidays_info", {
    params: data
  });
};

export const syncHolidaysInfo = (data?: object) => {
  return http.request<any>("get", baseUrlProxy + "/api/holidays_info/sync", {
    params: data
  });
};
